package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.EquipmentStockItemInventory;
import com.mxpioframework.system.service.BaseService;

/**
 * @Description: 库存信息
 * @Author: MxpIO
 * @Date:   2021-10-13
 * @Version: V1.0
 */
public interface EquipmentStockItemInventoryService extends BaseService<EquipmentStockItemInventory> {

    /**
     * 查询已有库存
     * @param batchNo
     * @param stocklocation
     * @param materialsId
     * @return
     */
    EquipmentStockItemInventory queryExist(String batchNo, String stocklocation, String materialsId);
    Integer queryStockNumByMaterialsId(String materialsId);
}
